<?php
ini_set('display_errors', 1);
define("APP_PATH", $_SERVER["DOCUMENT_ROOT"]);
require_once(APP_PATH."/collect/Lib/ORG/t.class.php");
$kuname="longzs";
$table="longze_re";
$config=array(
'DB_NAME'=>'longzs',
'DB_USER'=>'root',
'DB_PWD'=>'159456',
'DB_HOST'=>'localhost',
'DB_TABLE'=>'longzs_re',
'wangming'=>"collect.longsunhd.com",
);
$GLOBALS['config']=$config;
$data=$data2=$data3=$data4=$smdata=array();
$qian=$newarray=$filter=$searray=$arr=$qian2=array();
$index=0;
for($i=0;$i<100;$i++) {
    $file=$_SERVER["DOCUMENT_ROOT"] . "/bug_getTempnr{$i}.html";
    if(is_file($file)) @unlink($file);
    $file=$_SERVER["DOCUMENT_ROOT"] . "/bug_redotemp{$i}.html";
    if(is_file($file)) @unlink($file);
    $file=$_SERVER["DOCUMENT_ROOT"] . "/bug_file{$i}.html";
    if(is_file($file)) @unlink($file);
}
if($_SERVER["SERVER_NAME"]=="shante.me"){
    define('__ROOT__',"collect");
    define('__WWW__',"https://{$_SERVER["SERVER_NAME"]}/collect");
}else{
    if(!defined('__ROOT__')) {
        define('__ROOT__',"");
    }
    if(!defined('__WWW__')){
        define('__WWW__',"https://{$_SERVER["SERVER_NAME"]}/");
    }
}

